#include <glib.h>

static void test_glib_spawning_proc_async_simple(void)
{

    gboolean ret = FALSE;
    GError *error = NULL;

    ret = g_spawn_command_line_async("/bin/ls -a -l", &error);

    if(FALSE == ret) {
        g_print("g_spawn_command_line_async return FALSE \n");
        return;
    }

    g_print("test_glib_spawning_proc_async_simple exit \n");

    return;
}

gint main(gint argc, gchar **argv) 
{
    test_glib_spawning_proc_async_simple();

    g_print("main exit \n");

    return 0;
}
